import Vue from 'vue'
import vuex from 'vuex'

Vue.use(vuex)

export default new vuex.Store({
    state: {
        crumbList: []
    },
    mutations: {
        ADD_CRUMBLIST: (state, view) => {

        },
    },
    getters: {
        crumbList: state => state.crumbList,
    },
    actions: {
        addCrumbList({commit}, view) {
            commit('ADD_CRUMBLIST', view)
        }
    },
    modules: {}
})